package org.fastframework.boot;

import org.fastframework.boot.context.ApplicationContext;
import org.fastframework.boot.web.context.WebApplicationContext;
import org.fastframework.boot.web.embedded.jetty.JettyStarter;

public class Application {

    public static void run(Class clazz) {
        new ApplicationContext(clazz.getPackage().getName());
        new WebApplicationContext();
        JettyStarter.start();
    }

}
